class Person:
    pass
person1 = Person()
print(type(person1))

person1.name = '张三'
person1.sex = '男'
person1.age = '33'

print('{}的性别是{}, 年龄为 {} 岁'.format(person1.name, person1.sex, person1.age))

print(isinstance(person1, Person))